@import './normalize.scss';

.openLayout {
  .el-menu {
    border-right: none;
  }
  .sidebar-container {
    width: 210px !important;
  }
  .main-container {
    margin-left: 210px;
  }
}

.closeLayout {
  .el-menu {
    border-right: none;
  }
  .sidebar-container {
    width: 64px !important;
  }
  .main-container {
    margin-left: 0;
  }
  .mata-title {
    display: none !important;
  }

  .main-container {
    margin-left: 54px;
  }

  .submenu-title-noDropdown {
    padding: 0 !important;
    position: relative;

    .el-tooltip {
      padding: 0 !important;
      .svg-icon {
        margin-left: 20px;
      }

      .sub-el-icon {
        margin-left: 19px;
      }
    }
  }

  .el-submenu {
    overflow: hidden;

    & > .el-submenu__title {
      padding: 0 !important;

      .svg-icon {
        margin-left: 20px;
      }

      .sub-el-icon {
        margin-left: 19px;
      }

      .el-submenu__icon-arrow {
        display: none;
      }
    }
  }
  .el-submenu__title {
    text-align: center;
  }

  .el-menu--collapse {
    .el-submenu {
      & > .el-submenu__title {
        & > span {
          height: 0;
          width: 0;
          overflow: hidden;
          visibility: hidden;
          display: inline-block;
        }
      }
    }
  }
}
